package router

import (
	"api/handler"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	
	api := r.Group("/api")
	{
		exam := api.Group("/exam")
		{
			exam.POST("/upload", handler.Upload)
			exam.POST("/list", handler.List)
		}
	}
}
